<?php

namespace common\enum;

class MoneyDepositEnum
{
    const IS_ONLINE_TRUE = 1;//充值类型，1线上
    const IS_ONLINE_FALSE = 0;//充值类型，0线下

    const STATUS_PENDING = 0;//未处理
    const STATUS_PAID = 1;//已存款
    const STATUS_FAILED = 2;//失败
    const STATUS_CANCELED = 3;//取消

    const IS_FIRST = 1;//首存

    // ==================== 付款方式 ====================
    const DEPOSIT_TYPE_COUNTER = 1;                               // 'name' => '银行柜台',
    const DEPOSIT_TYPE_ATM = 2;                                   // 'name' => 'ATM现金入款',
    const DEPOSIT_TYPE_AUTO_ATM = 3;                              // 'name' => 'ATM自动柜员机',
    const DEPOSIT_TYPE_MOBILE = 4;                                // 'name' => '手机转账',
    const DEPOSIT_TYPE_ALIPAY = 5;                                // 'name' => '支付宝转账',
    const DEPOSIT_TYPE_TENPAY = 6;                                // 'name' => '财付通',
    const DEPOSIT_TYPE_WECHAT = 7;                                // 'name' => '微信支付',
    const DEPOSIT_TYPE_MANUAL = 8;                                // 'name' => '手动存款',
    const DEPOSIT_TYPE_CYBER_BANK = 9;                            // 'name' => '网银转账',
    const DEPOSIT_TYPE_MANUAL_ADD = 10;                           // 'name' => '手动增加余额',
    const DEPOSIT_TYPE_REBATE = 11;                               // 'name' => '发放返水',
    const DEPOSIT_TYPE_MANUAL_COUPON = 12;                        // 'name' => '手动发放优惠',
    const DEPOSIT_TYPE_MANUAL_PRIZE = 13;                         // 'name' => '手动补派奖金',
    const DEPOSIT_TYPE_MANUAL_DEDUCTED = 14;                      // 'name' => '手动扣回奖金',
    const DEPOSIT_TYPE_MANUAL_REDUCE = 15;                        // 'name' => '手动减少余额',
    const DEPOSIT_TYPE_MANUAL_REBATE = 16;                        // 'name' => '手动返水',

    //人工存提 需要稽核的类型
    const DEPOST_TYPE_WITHDRAW_AUDIT = [
        self::DEPOSIT_TYPE_COUNTER ,     
        self::DEPOSIT_TYPE_ATM,            
        self::DEPOSIT_TYPE_AUTO_ATM,   
        self::DEPOSIT_TYPE_MOBILE,
        self::DEPOSIT_TYPE_ALIPAY,        
        self::DEPOSIT_TYPE_TENPAY,       
        self::DEPOSIT_TYPE_WECHAT,        
        self::DEPOSIT_TYPE_MANUAL,        
        self::DEPOSIT_TYPE_CYBER_BANK,    
        self::DEPOSIT_TYPE_MANUAL_ADD,     
        self::DEPOSIT_TYPE_REBATE,       
        self::DEPOSIT_TYPE_MANUAL_COUPON,  
        self::DEPOSIT_TYPE_MANUAL_REBATE,
    ];

    // ==================== 是否首存 ====================
    const DEPOSIT_TYPE_AGAIN = 0;   //非首存
    const DEPOSIT_TYPE_ISFIRST = 1;  //首存

    // ==================== 是否厅主后台存款 ====================
    const DEPOSIT_IS_ADMIN_FALSE = 0;   //非厅主存款
    const DEPOSIT_IS_ADMIN_TRUE = 1;  //厅主存款

    // ==================== 是否已发放优惠 ====================
    const IS_SEND_COUPON_FALSE = 0;   //未发放
    const IS_SEND_COUPON_TRUE = 1;  //已发放

}
